package com.ruiyian.bridge.info.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiyian.bridge.info.domain.DipmonitorInfo;
import com.ruiyian.bridge.project.domain.vo.DataAnalysisDto;
import com.ruiyian.bridge.project.domain.vo.DataAnalysisVo;
import com.ruiyian.bridge.project.domain.vo.Mmh2oQueryBo;

import java.util.List;
import java.util.Map;

/**
 * @Description: 倾角监测数据
 * @Author: jeecg-boot
 * @Date: 2020-08-25
 * @Version: V1.0
 */
public interface DipmonitorInfoService extends IService<DipmonitorInfo> {

    DataAnalysisVo getNowMinData(String addr, String macaddr);

    List<DataAnalysisVo> getDataList(Long startNum, Long endNum);

    List<DataAnalysisVo> getNowMinDataByType(DataAnalysisDto dataAnalysisDto);

    DataAnalysisVo queryNowDisByDateType(DataAnalysisDto dataAnalysisDto);

    Long queryCount();

    Long queryRemoteCount();

    Map<String, Object> queryDataListByAddr(Mmh2oQueryBo bo);
    /**
     * 多维度类型统计
     * @param dto
     * @return
     */
    List<DataAnalysisVo> queryByDateType(DataAnalysisDto dto);

}
